package com.yl.chainStore.mapper.customer;

import com.yl.chainStore.entity.customer.CustomerDeptConfig;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page
import com.yl.chainStore.entity.customer.CustomerInfo
import com.yl.chainStore.pojo.vo.customer.CustomerSelectVo
import org.apache.ibatis.annotations.Mapper
import org.apache.ibatis.annotations.Param

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cxw
 * @since 2021-07-09
 */
@Mapper
interface CustomerDeptConfigMapper : BaseMapper<CustomerDeptConfig>{

	fun selectDeptCustomerPage(
		@Param("page") page: Page<CustomerInfo>,
		@Param("vo") vo: CustomerSelectVo,
		@Param("deptId") deptId:Long
	): Page<CustomerInfo>

}
